import Vue from "vue";
import Vuex from "vuex"

//引入其他模块仓库
import home from '@/store/home/home'
import seach from '@/store/seach/seach'

//使用vuex
Vue.use(Vuex)


//对外暴露store类的一个实例
export default new Vuex.Store({
  modules: {
    home,
    seach
  }
})
